package com.liqy.api.conf;
/**
 * Created by
 *
 * @auth: liqy
 * on 2022/3/22 15:02.
 * desc:
 */

import org.springframework.beans.factory.annotation.Value;

/**
 * @ClassName: ServletConfig
 * @Description: TODO
 * @Author: liqy
 * @CreateDate: 2022/3/22 15:02
 * @UpdateUser: liqy
 * @UpdateDate: 2022/3/22  15:02
 * @UpdateRemark: update TODO
 * @Version: 1.0
 */
//@Configuration
public class ServletConfig {

    @Value("${apiDemo.api.context}")
    String apiContext;

    /*@Autowired
    APIDemoServlet APIServlet;

    @Bean
    public ServletRegistrationBean getServletRegistrationBean() {
        ServletRegistrationBean bean = new ServletRegistrationBean(APIServlet);
        bean.addUrlMappings(String.format("/%s/*", apiContext));
        return bean;
    }*/
}
